package com.good.adminController;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
/*@RequiresPermissions("admin:product")*/
@RequestMapping(value="/admin")
public class productController {
	/*@RequiresPermissions("admin:product")*/
	@RequestMapping(value = "/product/1.do")
	public String product() {
		System.out.println("product");
		return "/admin/product";
	}
	@RequestMapping(value="/product/2.do")
	public String product2(){
		return "/admin/product2";
	}
}
